﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using VideoCache.Server.Model;

namespace VideoCache.Server.ViewModel
{
    public class AlbumModel
    {
        public int Id { get; set; }
        [Required]
        [Display(Name = "视频名称")]
        public string Title { get; set; }
        [Required]
        [Display(Name = "视频类别")]
        public int TypeId { get; set; }
        [Required]
        [Display(Name = "地区")]
        public int AreaId { get; set; }
        [Display(Name = "评分")]
        public int Rating { get; set; }
        [Display(Name = "导演")]
        public string Director { get; set; }
        [Display(Name = "演员")]
        public string Actor { get; set; }
        [Display(Name = "年代")]
        public int PubYear { get; set; }
        [Display(Name = "更新完结")]
        public bool IsEnd { get; set; }
        [Required]
        [Display(Name = "优先级")]
        public int Priority { get; set; }
        [Required]
        [Display(Name = "状态")]
        public int Status { get; set; }
        [Display(Name = "视频简介")]
        public string Description { get; set; }
        [Display(Name = "百度ID")]
        public int BaiduId { get; set; }
    }
}